<div id="content">
    <!-- BEGIN page-header -->
    <h1 class="page-header">
        综合数据统计 <small>各项数据指标分析【均不包括机器人数据】</small>
    </h1>
    <!-- END page-header -->

    <!-- BEGIN row -->
    <div class="row">
        <!-- BEGIN col-3 -->
        <div class="col-xl-3 col-sm-6">
            <!-- BEGIN widget -->
            <a href="javascript:void(0);" id="tab8f8188f9e3bc4a23b2c1a8cb5da87654" data-target="navTab" data-id="19" data-url="/accountsinfo/service-fee" class="widget-stats bg-gradient-blue text-white m-b-15">
                <div class="widget-stats-info">
                    <div class="widget-stats-title">平台服务费</div>
                    <div class="widget-stats-value">
                        <?= abs($servicefee)?>
                    </div>
                    <div class="widget-stats-desc">今日所有玩家税收消耗总额【详情】</div>
                </div>
                <div class="widget-stats-icon">
                    <i class="fa fa-database"></i>
                </div>
            </a>
            <!-- END widget -->
        </div>
        <!-- END col-3 -->
        <!-- BEGIN col-3 -->
        <div class="col-xl-3 col-sm-6">
            <!-- BEGIN widget -->
            <a href="javascript:void(0);" id="tab8f8188f9e3bc4a23b2c1a8cb5da87654" data-target="navTab" data-id="19" data-url="/accountsinfo/matchine" class="widget-stats widget-stats-inverse bg-gradient-purple text-white m-b-15">
                <div class="widget-stats-info">
                    <div class="widget-stats-title">玩家输赢</div>
                    <div class="widget-stats-value">
                        <?= empty($machine) ? 0 : $machine?>
                    </div>
                    <div class="widget-stats-desc">今日所有真人玩家输赢总额【详情】</div>
                </div>
                <div class="widget-stats-icon">
                    <i class="fa fa-database"></i>
                </div>
            </a>
            <!-- END widget -->
        </div>
        <!-- END col-3 -->
        <!-- BEGIN col-3 -->
        <div class="col-xl-3 col-sm-6">
            <!-- BEGIN widget -->
            <a href="javascript:void(0);" id="tab8f8188f9e3bc4a23b2c1a8cb5da87654" data-target="navTab" data-id="20" data-url="/loss/index" class="widget-stats widget-stats-inverse bg-gradient-pink text-white m-b-15">
                <div class="widget-stats-info">
                    <div class="widget-stats-title">钻石损耗</div>
                    <div class="widget-stats-value">
                        <?= empty($diamond) ? 0 : $diamond?>
                    </div>
                    <div class="widget-stats-desc">今日玩家钻石损耗总额【详情】</div>
                </div>
                <div class="widget-stats-icon">
                    <i class="fas fa-gem"></i>
                </div>
            </a>
        </div>
        <!-- END col-3 -->
        <!-- BEGIN col-3 -->
        <div class="col-xl-3 col-sm-6">
            <!-- BEGIN widget -->
            <a href="javascript:void(0);" id="tab8f8188f9e3bc4a23b2c1a8cb5da87654" data-target="navTab" data-id="19" data-url="/accountsinfo/" class="widget-stats widget-stats-inverse bg-gradient-orange text-white m-b-15">
                <div class="widget-stats-info">
                    <div class="widget-stats-title">新增玩家</div>
                    <div class="widget-stats-value">
                        <?= $add_user?>
                    </div>
                    <div class="widget-stats-desc">今天新增的游戏玩家【详情】</div>
                </div>
                <div class="widget-stats-icon">
                    <i class="fas fa-user-astronaut"></i>
                </div>
            </a>
            <!-- END widget -->
        </div>
        <!-- END col-3 -->
        <!-- BEGIN col-3 -->
        <div class="col-xl-3 col-sm-6">
            <!-- BEGIN widget -->
            <a href="javascript:void(0);" id="" data-target="navTab" data-id="19" data-url="/accountsinfo/recordlogin" class="widget-stats bg-gradient-green text-white m-b-15">
                <div class="widget-stats-info">
                    <div class="widget-stats-title">上线玩家</div>
                    <div class="widget-stats-value">
                        <?= $online_user?>
                    </div>
                    <div class="widget-stats-desc">今天已参与或登录过游戏玩家【详情】</div>
                </div>
                <div class="widget-stats-icon">
                    <i class="fa fa-street-view"></i>
                </div>
            </a>
            <!-- END widget -->
        </div>
        <!-- END col-3 -->
        <!-- BEGIN col-3 -->
        <div class="col-xl-3 col-sm-6">
            <!-- BEGIN widget -->
            <a href="javascript:void(0);" id="" data-target="navTab" data-id="19" data-url="/accountsinfo/onlineplayer?c=1" class="widget-stats widget-stats-inverse bg-gradient-danger text-white m-b-15">
                <div class="widget-stats-info">
                    <div class="widget-stats-title">在线玩家（大厅）</div>
                    <div class="widget-stats-value">
                        <?= $onlogin_ting_user?>
                    </div>
                    <div class="widget-stats-desc">今天正在大厅中的玩家【详情】</div>
                </div>
                <div class="widget-stats-icon">
                    <i class="fa fa-user-plus"></i>
                </div>
            </a>
            <!-- END widget -->
        </div>
        <!-- END col-3 -->
        <!-- BEGIN col-3 -->
        <div class="col-xl-3 col-sm-6">
            <!-- BEGIN widget -->
            <a href="javascript:void(0);" id="" data-target="navTab" data-id="19" data-url="/accountsinfo/onlineplayer?c=2" class="widget-stats widget-stats-inverse bg-gradient-dark text-white m-b-15">
                <div class="widget-stats-info">
                    <div class="widget-stats-title">在线玩家（游戏场）</div>
                    <div class="widget-stats-value">
                        <?= $onlogin_game_user?>
                    </div>
                    <div class="widget-stats-desc">今天正在游戏中的玩家【详情】</div>
                </div>
                <div class="widget-stats-icon">
                    <i class="fa fa-user-plus"></i>
                </div>
            </a>
        </div>
        <!-- END col-3 -->
        <!-- BEGIN col-3 -->
        <div class="col-xl-3 col-sm-6">
            <!-- BEGIN widget -->
            <a href="javascript:void(0);" id="tab56c6b6feecd44700884383e180177348" data-target="navTab" data-id="12" data-url="/orders/" class="widget-stats widget-stats-inverse bg-gradient-black text-white m-b-15">
                <div class="widget-stats-info">
                    <div class="widget-stats-title">成交订单</div>
                    <div class="widget-stats-value">
                        <?= $volume?>
                    </div>
                    <div class="widget-stats-desc">今天完成交易的数量【详情】</div>
                </div>
                <div class="widget-stats-icon">
                    <i class="fa fa-yen-sign"></i>
                </div>
            </a>
            <!-- END widget -->
        </div>
        <!-- END col-3 -->
    </div>
    <!-- END row -->
    <!-- BEGIN row -->
    <div class="row">
        <div class="col-lg-12">
            <!-- BEGIN card -->
            <div class="card m-b-15">
                <!-- BEGIN card-header -->
                <div class="card-header card-header-inverse">
                    <i class="fas fa-chart-line fa-fw"></i> 综合统计 -
                    <small class="category">成交订单、新增玩家、上线玩家、在线玩家（峰值和）、平台服务费、钻石损耗（开房消耗+返还+比赛报名+比赛退出）</small>
                </div>
                <!-- END card-header -->
                <!-- BEGIN card-body -->
                <div class="card-body">
                    <div class="toolbar">
                        <div class="actionOpts">
                            <div class="form-inline">
                                <div class="form-group">
                                    <div class="input-group input-daterange" style="margin-top: 3px;">
                                        <div class="input-group input-daterange">
                                            <input type="text" class="form-control form-control-sm" data-provide="datepicker" id="startDate" name="startDate" value="<?= date('Y-m-d', strtotime("-30 day"))?>">
                                            <span class="input-group-append input-group-prepend form-control-sm"><span class="input-group-text">至</span></span>
                                            <input type="text" class="form-control form-control-sm" data-provide="datepicker" id="finishDate" name="finishDate" value="<?= date('Y-m-d' ,time())?>">
                                        </div>
                                        <span class="input-group-append">
                                    <p style="margin-left: 30px;">
                                    <button class="btn btn-primary btn-sm m-b-5 m-r-3" id="btnfind__">立即查询</button>
                                    <button class="btn btn-purple btn-sm m-b-5 m-r-3" id="btnreset__">清空条件</button>
                                    </p>
                                </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- END card-body -->
            </div>
            <!-- END card -->
        </div>
    </div>
</div>
<!-- END row -->